package com.lu.project.config;


import com.lu.project.interceptors.AutoFillInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *  webMvc高级配置
 */
@Configuration
public class MybatisConfig {

    /***
     *  自动填充拦截器
     */
    @Bean(name = "myAutoFillInterceptor")  // 设置自定义名称
    public AutoFillInterceptor autoFillInterceptor(){
        return new AutoFillInterceptor();
    }

}
